package com.jt.service.impl;

import com.jt.mapper.RihtsMapper;
import com.jt.pojo.Rights;
import com.jt.service.RightsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RightsServiceImpl implements RightsService {
    @Autowired
    private RihtsMapper mapper;
    @Override
    public List<Rights> getRightsList() {
        return mapper.getRightsList();
    }

    @Override
    public List<Rights> getRightsList2() {
        return mapper.getRightsList2();
    }
}
